import request from "@/config/utils/request";
import { pageLoadingParams } from "@/basa/utils/public";
// 列表
export function listBowOutCertPage(data) {
  return request({
    url: "/apis/smp/bowoutcert/listBowOutCertPage",
    method: "post",
    data: { ...data, ...pageLoadingParams }
  });
}
// 列表编辑
export function getBowOutCert(data) {
  return request({
    url: "/apis/smp/bowoutcert/getBowOutCert",
    method: "post",
    data
  });
}
//   列表删除
export function removeBowOutCert(data) {
  return request({
    url: "/apis/smp/bowoutcert/removeBowOutCert",
    method: "post",
    data
  });
}

// 新增  保存
export function saveBowOutCert(data) {
  return request({
    url: "/apis/smp/bowoutcert/saveBowOutCert",
    method: "post",
    data
  });
}

// 验收单编号选择弹框table
export function listAcceptanceCert(data) {
  return request({
    url: "/apis/smp/acceptancecert/listAcceptanceCert",
    method: "post",
    data
  });
}

// 弹框选择
export function getAcceptanceCert(data) {
  return request({
    url: "/apis/smp/acceptancecert/getAcceptanceCert",
    method: "post",
    data
  });
}
//   编辑保存
export function editBowOutCert(data) {
  return request({
    url: "/apis/smp/bowoutcert/editBowOutCert",
    method: "post",
    data
  });
}
